<?php
namespace catchAdmin\storehouse\model\search;

use catchAdmin\storehouse\model\Warehousing;

trait WarehouseOutSonSearch
{
    public function searchWarehouseOutIdAttr($query, $value, $data)
    {
        return $query->where('warehouse_out_id', $value);
    }

//    public function searchCustomerBusinessNumber($query, $value, $data){
//
//
//        $warehousing_ids = (new Warehousing)->where('customer_business_number',$value)->column('warehousing_id');
//        return $query->where('warehouse_out_id', $value);
//    }
}
